package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SH_SAPBudgetInfo")
public class ShSapbudgetinfo extends Model<ShSapbudgetinfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("BudgetItemCode")
    private String BudgetItemCode;

    @TableField("BudgetItemName")
    private String BudgetItemName;

    @TableField("ParentCode")
    private String ParentCode;

    @TableField("IsLastBudgetItem")
    private String IsLastBudgetItem;

    @TableField("IsFlag")
    private Integer IsFlag;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
